how to construct a distance time graph

join shbcf.ru